package com.study.demo;

public class Test {
    public static void main(String[] args) {
        Movie[] movies = new Movie[5];
        movies[0] = new Movie(1,"哪吒2",46.5,"甄嬛");
        movies[1] = new Movie(2,"哪吒3",47.5,"甄嬛2");
        movies[2] = new Movie(3,"哪吒4",496.5,"甄嬛3");
        movies[3] = new Movie(4,"哪吒5",456.5,"甄嬛4");
        movies[4] = new Movie(5,"哪吒6",486.5,"甄嬛5");

        MovieOperator mo = new MovieOperator(movies);
        mo.showMovies();
        System.out.println("--------------------");
        mo.showById(1);
    }
}
